package com.chixing.day17_reflect_thread.thread;

public class JiOushuTest {
    public static void main(String[] args) {

        Thread b =  new Thread(new BThread(),"偶数线程=======");
        Thread a =  new Thread(new AThread(b),"奇数线程>>>>");
        b.setPriority(1);
        a.start();
        b.start();
        System.out.println( "main线程 优先级：" + Thread.currentThread().getPriority());
        System.out.println( "a 优先级：" + a.getPriority());
        System.out.println( "b 优先级：" + b.getPriority());

    }
}
